package personal.xjl._23java1studentdemo.service;

import personal.xjl._23java1studentdemo.model.Student;
import personal.xjl._23java1studentdemo.model.Teacher;

import java.util.List;

public interface TeacherService {
    List<Teacher> findAll();
    int remove(int id);
    int add(Teacher teacher);

    Teacher findById(int id);

    int edit(Teacher teacher);

    List<Teacher> findByPage(int currPage, int pageSize);
}

